Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Matrix Functions /


TransformRgn

The TransformRgn function allows your application to apply a specified matrix to a region.

pascal OSErr TransformRgn (MatrixRecordPtr mp, RgnHandle r);
mp
Points to the matrix for this operation. The TransformRgn function currently supports only translating and scaling operations.
r
Specifies the region to be transformed. The TransformRgn function transforms each point in the region according to the contents of the specified matrix.
ERROR CODES
Memory Manager errors


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996